#include <stdio.h>
#include <signal.h>

void sigcb(int signum)
{
    printf("signum is %d\n",signum);
}

int main()
{
    signal(SIGINT,sigcb);
    while(1)
    {}
    return 0;
}
